<template>
	<div>
		<strong class="block-title">注单信息</strong>
		<el-row class="block-content">
			<el-col :span="9">注单号： {{ dataList.id || '-' }}</el-col>
			<el-col :span="9">
				三方订单号： {{ dataList.thirdOrderId || '-' }}
			</el-col>
			<el-col :span="6">局号： {{ dataList.roundNo || '-' }}</el-col>
			<el-col :span="9">
				游戏平台：
				<span>
					{{ $parent.gameType }}
				</span>
			</el-col>
			<el-col :span="9">
				玩法名称： {{ dataList.gameTypeName || '-' }}
			</el-col>
			<el-col :span="6">
				游戏桌台号： {{ dataList.tableCode || '-' }}
			</el-col>
			<el-col :span="9">
				投注玩法： {{ dataList.playOptionName || '-' }}
			</el-col>
			<el-col :span="9">
				玩法赔率： {{ dataList.oddsValue || '-' }}
			</el-col>
			<el-col :span="6">
				局结果： {{ dataList.judgeResult1 || '-' }}
			</el-col>
			<el-col :span="9">
				投注金额：
				{{ decimalToFixed2(dataList.betAmount) }}
			</el-col>
			<el-col :span="9">
				有效投注：
				{{ decimalToFixed2(dataList.validBetAmount) }}
			</el-col>
			<el-col :span="6">
				输赢金额：
				{{ decimalToFixed2(dataList.netAmount) }}
			</el-col>
			<el-col :span="9">
				状态归类：
				{{ typeFilter(dataList.obBetStatus, 'betStatusType') }}
			</el-col>
			<el-col :span="9">投注IP： {{ dataList.loginIp || '-' }}</el-col>
			<el-col :span="6">
				投注终端：
				{{
					dataList.deviceType === '其他'
						? dataList.deviceType
						: typeFilter(dataList.deviceType, 'loginDeviceType')
				}}
			</el-col>
			<el-col :span="9">投注时间： {{ dataList.createAt || '-' }}</el-col>
			<el-col :span="9">结算时间： {{ dataList.netAt || '-' }}</el-col>
			<el-col :span="6">
				同步时间： {{ dataList.synchronizationTime || '-' }}
			</el-col>
		</el-row>
	</div>
</template>

<script>
import list from '@/mixins/list'
export default {
	mixins: [list],
	props: {
		dataList: {
			type: Object,
			default: () => ({})
		}
	}
}
</script>
